# -----------------continue----------------
sum100 = 0
i = 1
while i <= 100:
    if i == 2:
        i += 1
        continue  # 跳过当次循环
        print("continue下的语句不会执行")
    sum100 += i
    i += 1
print("sum100:", sum100)
# ------------------break-----------------
# sum100 = 0
# i = 1
# while i <= 100:
#     if i == 2:
#         break
#         print("break后的代码不会执行")
#     sum100 += i
#     i += 1
# print("sum100:", sum100)